#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
枚举定义模块

包含所有问题类型、诊断策略、查询类型和分析轮次的枚举定义
"""

from enum import Enum


class ProblemType(Enum):
    """问题类型枚举"""
    SINGLE_DEVICE = "single_device"      # 单设备问题
    BATCH_DEVICES = "batch_devices"      # 批量设备问题
    NETWORK_ISSUE = "network_issue"      # 网络问题
    SYSTEM_ISSUE = "system_issue"        # 系统问题
    UNKNOWN = "unknown"                  # 未知问题


class DiagnosisStrategy(Enum):
    """诊断策略枚举"""
    QUICK_CHECK = "quick_check"          # 快速检查
    DETAILED_ANALYSIS = "detailed_analysis"  # 详细分析
    NETWORK_FOCUSED = "network_focused"  # 网络重点检查
    SYSTEM_WIDE = "system_wide"         # 系统级检查
    MULTI_ROUND_THINKING = "multi_round_thinking"  # 多轮思考模式


class QueryType(Enum):
    """查询类型枚举"""
    DEVICE_EXISTENCE = "device_existence"        # 设备存在性检查
    DEVICE_BASIC_INFO = "device_basic_info"      # 设备基本信息与巡测数据
    FAULT_RECORDS = "fault_records"              # 报警记录
    STATISTICS_RECORDS = "statistics_records"    # 统计记录
    NETWORK_STATUS = "network_status"            # 网络状态
    SYSTEM_LOGS = "system_logs"                  # 系统日志
    PERFORMANCE_METRICS = "performance_metrics"  # 性能指标
    HISTORICAL_TRENDS = "historical_trends"      # 历史趋势
    CORRELATION_ANALYSIS = "correlation_analysis" # 关联分析